
package user;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import com.health.model.ArrayOfUser;
import com.health.model.User;

@WebService(name = "IUserServicePortType", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
@SOAPBinding(use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
public interface IUserServicePortType {


    @WebMethod(operationName = "update", action = "")
    public void update(
        @WebParam(name = "in0", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
        User in0);

    @WebMethod(operationName = "checkUserExist", action = "")
    @WebResult(name = "out", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
    public int checkUserExist(
        @WebParam(name = "in0", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
        String in0);

    @WebMethod(operationName = "selectByPK1", action = "")
    @WebResult(name = "out", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
    public User selectByPK1(
        @WebParam(name = "in0", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
        String in0);

    @WebMethod(operationName = "selectListPage", action = "")
    @WebResult(name = "out", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
    public ArrayOfUser selectListPage(
        @WebParam(name = "in0", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
        User in0);

    @WebMethod(operationName = "delete", action = "")
    public void delete(
        @WebParam(name = "in0", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
        User in0);

    @WebMethod(operationName = "login", action = "")
    @WebResult(name = "out", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
    public Object login(
        @WebParam(name = "in0", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
        User in0);

    @WebMethod(operationName = "insert", action = "")
    public void insert(
        @WebParam(name = "in0", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
        User in0)
        throws ValidatorException, ValidatorLevelException
    ;

    @WebMethod(operationName = "selectListAll", action = "")
    @WebResult(name = "out", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
    public ArrayOfUser selectListAll(
        @WebParam(name = "in0", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
        User in0);

    @WebMethod(operationName = "selectByPK", action = "")
    @WebResult(name = "out", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
    public User selectByPK(
        @WebParam(name = "in0", targetNamespace = "http://localhost:8080/HealthManager2.1/webService/IUserService.ws")
        User in0);

}
